package com.sayice.robotconflict.game.msg.data.send;

import com.sayice.robotconflict.game.object.property.Coord;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 对局信息
 *
 * @author shubing
 */
@Getter
@Setter
@ToString
public class GameInfo implements Serializable {
    private static final long serialVersionUID = 1L;
    
    /**
     * 当前队伍下标，0表示队伍1，1表示队伍2
     */
    private int teamIndex;
    
    /**
     * 对局双方的能量塔坐标
     */
    private Coord[] towersCoord;
    
    /**
     * 对局中的所有玩家
     */
    private GamePlayerInfo[][] players;
    
    public GameInfo() {
    }
    
    public GameInfo(int teamIndex, Coord[] towersCoord, GamePlayerInfo[][] players) {
        this.teamIndex = teamIndex;
        this.towersCoord = towersCoord;
        this.players = players;
    }
}
